projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef1c44
)
use pwd and quote it
author
Joey Hess
<joeyh@joeyh.name>
Fri, 7 Mar 2025 20:06:37 +0000
(16:06 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Fri, 7 Mar 2025 20:06:37 +0000
(16:06 -0400)
Seems more portable and safe
doc/special_remotes/compute/git-annex-compute-wasmedge
patch
|
blob
|
history
diff --git
a/doc/special_remotes/compute/git-annex-compute-wasmedge
b/doc/special_remotes/compute/git-annex-compute-wasmedge
index 0c361c62306ac9d31357944d44cc3056534b08a9..c20f7824a87bb2045cc4decd967955f9dfed3075 100755
(executable)
--- a/
doc/special_remotes/compute/git-annex-compute-wasmedge
+++ b/
doc/special_remotes/compute/git-annex-compute-wasmedge
@@
-43,5
+43,5
@@
if [ -n "$wasm" ]; then
# Use --force-interpreter to avoid wasmedge running AOT native
# instructions, which is insecure if the WASM binary comes from
# an untrusted source.
- wasmedge --dir
/:$PWD
--force-interpreter -- "$wasm" "$@" >&2
+ wasmedge --dir
"/:`pwd`"
--force-interpreter -- "$wasm" "$@" >&2
fi